/*
 * @Descripttion: 医师api
 * @version: 
 * @Author: 
 * @Date: 2022-04-25 17:21:05
 * @LastEditors: weidelong
 * @LastEditTime: 2022-05-10 15:16:38
 */
import request from "../../request.js"

// 新增
export function addDoctor(params) {
    return request({
        url: '/addDoctor',
        method: 'post',
        data: params
    })
}

// 获取列表
export function getDoctorList(parameter) {
    return request({
        url: '/getDoctorList',
        method: 'get',
        params: parameter
    })
}

// 获取全部
export function getAllDoctorList(parameter) {
    return request({
        url: '/getAllDoctorList',
        method: 'get',
        params: parameter
    })
}

// 编辑信息
export function editDoctorMsg(params) {
    return request({
        url: '/editDoctorMsg',
        method: 'post',
        data: params
    })
}

// 删除
export function deleteDoctor(params) {
    return request({
        url: '/deleteDoctor',
        method: 'post',
        data: params
    })
}